package com.jwsoft.manager.core.integration;

import com.bifang.module.base.common.vo.org.OrgTreeVO;
import com.bifang.module.base.common.vo.tree.TreeRetVO;
import com.github.pagehelper.PageInfo;
import com.jwsoft.manager.common.vo.eduFormEnroll.EduFormEnrollKeyVO;
import com.jwsoft.manager.common.vo.eduFormEnrollBase.EduFormEnrollBaseKeyVO;
import com.jwsoft.manager.common.vo.eduFormEnrollBase.EduFormEnrollBaseQueryVO;
import com.jwsoft.manager.common.vo.eduFormEnrollBase.EduFormEnrollBaseVO;
import com.jwsoft.manager.common.vo.eduFormEnrollParamsBase.EduFormEnrollParamsBaseVO;
import com.jwsoft.manager.common.vo.eduFormEnrollParamsBase.SaveFormEnrollParamsBaseVO;

import java.util.List;

/**
 * 教育报名表单表模板业务本地接口
 *
 * @author zjl
 * @since 2024-04-12
 */
public interface EduFormEnrollBaseIntegration {
    /** 分页查询 */
    PageInfo<EduFormEnrollBaseVO> getList(EduFormEnrollBaseQueryVO vo);
    /** 根据主键查询详情 */
    EduFormEnrollBaseVO getById(EduFormEnrollBaseKeyVO vo);
    /** 保存前统一校验*/
    void checkSave(EduFormEnrollBaseVO vo);
    /** 新增 */
    EduFormEnrollBaseVO add(EduFormEnrollBaseVO vo);
    /** 修改 */
    EduFormEnrollBaseVO edit(EduFormEnrollBaseVO vo);
    /** 根据主键删除 */
    void del(EduFormEnrollBaseKeyVO vo);
    /** 根据表单id获取表单字段配置信息 */
    List<EduFormEnrollParamsBaseVO> getParamsListByFormId(EduFormEnrollKeyVO vo);
    /**动态表单字段配置保存**/
    void saveFormEnrollParams(SaveFormEnrollParamsBaseVO vo);

    TreeRetVO getFormEmrollPramTreeList(OrgTreeVO vo);

    void copyLastYearData(OrgTreeVO vo);
}
